<%--
  Created by IntelliJ IDEA.
  User: 23333
  Date: 2023/4/8
  Time: 14:01
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>添加商品页面</title>
</head>
<body>
<h1>添加商品页面</h1>
<form action="/commodity/create" method="post" enctype="multipart/form-data">
    <label>
        title:<input type="text" name="title"/>
    </label>
    <br>
    <label>
        image:<input type="file" name="file"/>
    </label>
    <br>
    <label>
        price:<input type="number" name="price" min="0.00" step="0.01"/>
    </label>
    <br>
        <textarea name="description"  cols="30" rows="4" placeholder="DESCRIPTION"></textarea>
    <br>
    <label>
        邮费:<input type="number" name="postage">
    </label>
    <br>
    <input type="submit" value="添加">
</form>
</body>
</html>
